package com.bsoft.gol.hcs.specialist.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * @author tongtp
 * @version v0.1
 * @package specialist.entity
 * @className FusAnswerRouteRecord
 * @description
 * @create 2021-12-28 19:19
 **/
@Entity
@Table(name = "fus_answer_route_record")
public class FusAnswerRouteRecord {

	private Long id;
	private String reportId;
	private Long routeDetailId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
	private Date gmtCreate;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Basic
	@Column(name = "report_id")
	public String getReportId() {
		return reportId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}

	@Basic
	@Column(name = "route_detail_id")
	public Long getRouteDetailId() {
		return routeDetailId;
	}

	public void setRouteDetailId(Long routeDetailId) {
		this.routeDetailId = routeDetailId;
	}

	@Basic
	@Column(name = "gmt_create")
	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	@Override
	public String toString() {
		return "FusAnswerRouteRecord{" +
				"id=" + id +
				", reportId='" + reportId + '\'' +
				", routeDetailId=" + routeDetailId +
				", gmtCreate=" + gmtCreate +
				'}';
	}
}
